package com.ztjy.sys.dao;

import com.ztjy.bean.Job;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface JobDao {
    public Job findJobById(Integer jid);

    public List<Job> findAllJobs(Job job);

    public boolean addJob(Job job);

    boolean updateJob(Job job);
}